<template>
  <div class="box">
    <my-header v-if="!$route.meta.hid"/>
    <router-view />
    <index-fixed v-if="$route.meta.filex" />
    <span v-if="$route.meta.filex">下载王者营地每天领福利~</span>
    <my-footer v-if="!$route.meta.hid"/>
  </div>
</template>

<script>
import IndexFixed from "./components/IndexFixed.vue";
import MyFooter from "./components/MyFooter.vue";
import MyHeader from "./components/MyHeader.vue";
export default {
  components: { MyHeader, IndexFixed, MyFooter },
  mounted() {
    console.log(this.$route.meta);
  },
};
</script>

<style lang="scss" scoped>
.header {
  position: relative;
  z-index: 2;
}
span {
  position: fixed;
  top: 40px;
  right: 188px;
  // border: 1px solid red;
  width: 88px;
  font-size: 12px;
}
</style>